home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pine / imap-3.0 / MailManager / SendWindow.h < prev    next >
Encoding:
Text File  |  1992-05-06  |  3.4 KB  |  104 lines

  1. /*
  2.  * Program:    Distributed Electronic Mail Manager (SendWindow object)
  3.  *
  4.  * Author:    Mark Crispin
  5.  *        Networks and Distributed Computing
  6.  *        Computing & Communications
  7.  *        University of Washington
  8.  *        Administration Building, AG-44
  9.  *        Seattle, WA  98195
  10.  *        Internet: MRC@CAC.Washington.EDU
  11.  *
  12.  * Date:    24 February 1989
  13.  * Last Edited:    6 May 1992/Mike Dixon, Xerox PARC
  14.  *
  15.  * Copyright 1992 by the University of Washington
  16.  *
  17.  *  Permission to use, copy, modify, and distribute this software and its
  18.  * documentation for any purpose and without fee is hereby granted, provided
  19.  * that the above copyright notice appears in all copies and that both the
  20.  * above copyright notice and this permission notice appear in supporting
  21.  * documentation, and that the name of the University of Washington not be
  22.  * used in advertising or publicity pertaining to distribution of the software
  23.  * without specific, written prior permission.  This software is made
  24.  * available "as is", and
  25.  * THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  26.  * WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  27.  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  28.  * NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  29.  * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  30.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  31.  * (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  32.  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  33.  *
  34.  */
  35.  
  36. @interface SendWindow : Object
  37. {
  38.   id debugging;            // switch for debug
  39.   id from;            // From: list
  40.   id replyTo;            // Reply-To: list
  41.   id to;            // primary recipients
  42.   id cc;            // carbon copy recipients
  43.   id bcc;            // blind carbon recipients
  44.   id subject;            // subject text
  45.   id envelopeView;        // view of message envelope
  46.   id bodyView;            // view of message body
  47.   id window;            // window on the screen
  48.   id attachmentPanel;        // panel of attachments
  49.   id attachmentView;        // view of attachments
  50.   id book;            // address book
  51.   Matrix *browser;        // browser of attachment view
  52.   NXRect envelopeFrame;        // frame of envelope
  53.   int start;            // selection start
  54.   int end;            // selection end
  55.   ENVELOPE *env;        // envelope to give to MTP
  56.   PART *attachments;        // attachment body parts
  57.   BOOL select;            // call selectBody in envelope item actions
  58.   SNDSoundStruct *sound;    // sound being recorded
  59. }
  60.  
  61. + new;
  62. - setWindow:anObject;
  63. - setFrom:anObject;
  64. - setReplyTo:anObject;
  65. - setTo:anObject;
  66. - setCc:anObject;
  67. - setBcc:anObject;
  68. - setSubject:anObject;
  69. - setEnvelopeView:anObject;
  70. - setBodyView:anObject;
  71. - setAttachmentPanel:anObject;
  72. - setAttachmentView:anObject;
  73. - bodyView;
  74. - (ENVELOPE *) msg;
  75. - window;
  76. - help:sender;
  77. - from:sender;
  78. - replyTo:sender;
  79. - to:sender;
  80. - cc:sender;
  81. - bcc:sender;
  82. - setAddress:view :(ADDRESS **) list;
  83. - subject:sender;
  84. - textDidEnd:textObject endChar:(unsigned short) whyEnd;
  85. - (BOOL) textWillEnd:textObject;
  86. - selectBody;
  87. - updateEnvelopeView;
  88. - insertFile:sender;
  89. - attachFile:sender;
  90. - (PART *) attachFile:(char *) name data:(char *) data size:(int) size;
  91. - attachSound:sender;
  92. - deleteAttachment:sender;
  93. - reformat:sender;
  94. - send:sender;
  95. - exit:sender;
  96. - windowWillClose:sender;
  97. - windowWillResize:sender toSize:(NXSize *) frameSize;
  98. - windowDidMove:sender;
  99. - windowWillReturnFieldEditor:sender toObject:client;    // mdd
  100. - setDebugging:anObject;
  101. - rcptErr:(ADDRESS *) adr;
  102.  
  103. @end
  104.